Skip to content

Document "mode" in /api/study/{studyId}/import-pgn#634

Merged
fitztrev merged 1 commit intolichess-org:masterfrom
tors42:study-chapter-mode
Apr 20, 2026
Merged

Document "mode" in /api/study/{studyId}/import-pgn#634
fitztrev merged 1 commit intolichess-org:masterfrom
tors42:study-chapter-mode

Conversation

@tors42
Copy link
Copy Markdown
Contributor

@tors42 tors42 commented Apr 20, 2026

mode:
practice - Practise with Computer
conceal - Hide next moves
gamebook - Interactive lesson

Notes:

  • I've never updated types/lichess-api.d.ts before, so that might need extra review... 👀
  • Included a markdown bullet list in the yaml to document the values as they aren't selfexplanatory - I don't know if there are other/preferable ways to document them.

mode:
practice - Practise with Computer
conceal - Hide next moves
gamebook - Interactive lesson
@fitztrev
Copy link
Copy Markdown
Member

types/lichess-api.d.ts gets automatically updated from the publish github action. It'll rebuild it and then tag a new npm version if there were changes.

@fitztrev fitztrev merged commit e14b250 into lichess-org:master Apr 20, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants